package com.linkoog.devtools.code_generator.wizard;

import com.linkoog.devtools.code_generator.wizard.model.ModelJsonTreeTable;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.PsiDirectory;
import com.linkoog.devtools.intellij.wizard.WizardContext;

public class ModelWizardContext extends WizardContext {

    private Project project;

    private Module module;

    private VirtualFile selectedPackageVF;

    private PsiDirectory basePsiDirectory;

    private String className;
    private String classRemark;

    private ModelJsonTreeTable.ItemInfo root;

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public Module getModule() {
        return module;
    }

    public void setModule(Module module) {
        this.module = module;
    }

    public VirtualFile getSelectedPackageVF() {
        return selectedPackageVF;
    }

    public void setSelectedPackageVF(VirtualFile selectedPackageVF) {
        this.selectedPackageVF = selectedPackageVF;
    }

    public PsiDirectory getBasePsiDirectory() {
        return basePsiDirectory;
    }

    public void setBasePsiDirectory(PsiDirectory basePsiDirectory) {
        this.basePsiDirectory = basePsiDirectory;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassRemark() {
        return classRemark;
    }

    public void setClassRemark(String classRemark) {
        this.classRemark = classRemark;
    }

    public ModelJsonTreeTable.ItemInfo getRoot() {
        return root;
    }

    public void setRoot(ModelJsonTreeTable.ItemInfo root) {
        this.root = root;
    }
}
